package com.java.grammer.oop;

/**
 * @author luzhikun
 * @date 2020/11/29- 11:38
 */
public class EmployeeTest {
    public static void main(String[] args) {
        Employee p1 = new Employee("小花", 1000, 5000);
        p1.printWork();
        Employee p2 = new Employee();
        p2.setName("大黄");
        p2.setId(2000);
        p2.setSalary(300000);
        p2.printWork();


    }
}
